IPGetAddr


C Specification

#include <dolphin/ip.h>

#define IP_ALEN             4       // IP address length

void IPGetAddr ( IPInterface* interface, u8* addr );

Description

IPGetAddr() gets the internet address of the specified interface.

Arguments

interface Pointer to IPInterface to get the internet address. Use NULL to specify the default network interface.
addr Pointer to array[IP_ALEN] of u8 that receives the interface internet address.

Return Values

None.

See Also